package com.advice;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class MyAdvice {

    @Before("execution(* com.service.impl.ArticleInfoServiceImpl.*(..))")
    public void before(){
        System.out.println("这里是前置增强！！！");
    }
}
